home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / disk / cdrom / EasyACDDA.lha / EasyACDDA / EasyACDDA-Install < prev    next >
Text File  |  2002-10-14  |  4KB  |  149 lines

  1. ;===============================================================================
  2. ; EasyACDDA ©2002 by Alessandro Marinuzzi [Alecos] - EasyACDDA is EuroWare
  3. ; EasyACDDA-Install ©2002 by Alessandro Marinuzzi [Alecos]
  4. ; $VER: EasyACDDA-Install 1.1 - (14/10/2002) by Alecos
  5. ;===============================================================================
  6.  
  7. (COMPLETE 0)
  8.  
  9. (welcome "\nThis installer script will install EasyACDDA and all related files on your HD.\nEasyACDDA is EuroWare - EasyACDDA ©2002 by Alessandro Marinuzzi [Alecos]\nEMail: alecos@ltsnet.it")
  10.  
  11. ;===============================================================================
  12. ; Procedure which will install the program EasyACDDA into your favorite drawer
  13. ;===============================================================================
  14.  
  15. (set @default-dest
  16.  (askdir
  17.   (prompt "Where do you want to install EasyACDDA ?\nThe EasyACDDA drawer will be created if you want.")
  18.   (help @askdir-help)
  19.   (default "Sys:Utilities/")
  20.  )
  21. )
  22.  
  23. (COMPLETE 10)
  24.  
  25. (set easydir
  26.  (askbool
  27.   (prompt "Do you want a drawer for EasyACDDA ?")
  28.   (help @askbool-help)
  29.   (default 1)
  30.   (choices "Yes" "No")
  31.  )
  32. )
  33.  
  34. (COMPLETE 20)
  35.  
  36. (if (= easydir 1)
  37.  (makedir (tackon @default-dest "EasyACDDA") (infos))
  38. )
  39.  
  40. (if (= easydir 1)
  41.  (set @default-dest (tackon @default-dest "EasyACDDA"))
  42. )
  43.  
  44. (COMPLETE 30)
  45.  
  46. (copyfiles
  47.  (source "EasyACDDA")
  48.  (dest @default-dest)
  49.  (help @copyfiles-help)
  50.  (infos)
  51.  (noposition)
  52. )
  53.  
  54. (COMPLETE 40)
  55.  
  56. ;===============================================================================
  57. ; Procedure which will install the right background image for EasyACDDA
  58. ;===============================================================================
  59.  
  60. (set easyimage
  61.  (askchoice
  62.   (prompt "Which type of background image do you want to install ?")
  63.   (help @askchoice-help)
  64.   (choices "24 Bit image for Amiga with a Graphic Board" "5 Bit image for Amiga with AGA")
  65.   (default 0)
  66.  )
  67. )
  68.  
  69. (COMPLETE 50)
  70.  
  71. (if (= easyimage 0)
  72.  (copyfiles
  73.   (source "Images/EasyACDDA.24bit")
  74.   (dest @default-dest)
  75.   (help @copyfiles-help)
  76.   (newname "EasyACDDA.bkg")
  77.  )
  78. )
  79.  
  80. (if (= easyimage 1)
  81.  (copyfiles
  82.   (source "Images/EasyACDDA.5bit")
  83.   (dest @default-dest)
  84.   (help @copyfiles-help)
  85.   (newname "EasyACDDA.bkg")
  86.  )
  87. )
  88.  
  89. (COMPLETE 60)
  90.  
  91. ;===============================================================================
  92. ; Procedure which will install all docs related to EasyACDDA (EasyACDDA.readme)
  93. ;===============================================================================
  94.  
  95. (copyfiles
  96.  (source "EasyACDDA.readme")
  97.  (dest @default-dest)
  98.  (help @copyfiles-help)
  99.  (infos)
  100.  (noposition)
  101. )
  102.  
  103. (COMPLETE 70)
  104.  
  105. ;===============================================================================
  106. ; Procedure which will install all executable files supplied with EasyACDDA
  107. ;===============================================================================
  108.  
  109. (copyfiles
  110.  (source "C/")
  111.  (dest "C:")
  112.  (help @copyfiles-help)
  113.  (all)
  114. )
  115.  
  116. (COMPLETE 80)
  117.  
  118. ;===============================================================================
  119. ; Procedure which will install all docs for the files supplied with EasyACDDA
  120. ;===============================================================================
  121.  
  122. (set easydoc
  123.  (askbool
  124.   (prompt "Copy the docs for the files supplied with EasyACDDA ?")
  125.   (help @askbool-help)
  126.   (default 1)
  127.   (choices "Yes" "No")
  128.  )
  129. )
  130.  
  131. (COMPLETE 90)
  132.  
  133. (if (= easydoc 1)
  134.  (copyfiles
  135.   (source "Docs")
  136.   (dest (tackon @default-dest "Docs"))
  137.   (help @copyfiles-help)
  138.   (all)
  139.  )
  140. )
  141.  
  142. ;===============================================================================
  143. ; Procedure which will quit the installation - EasyACDDA installation completed
  144. ;===============================================================================
  145.  
  146. (COMPLETE 100)
  147.  
  148. (exit "NOTE:\n\nThe users who own a graphic board have to add the task \"Gui4Cli\" to the\npreferences of PicDT (PictureDatatypePrefs) before launching EasyACDDA !")
  149.